package com.yinkgh.mybatis.model;

import java.util.Date;

public class UserOrder {
    private Integer id;

    private Integer userId;

    private Integer orderNumber;

    private Date createTime;

    private String note;
    
    private User user;
    
    public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(Integer orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note == null ? null : note.trim();
    }

	@Override
	public String toString() {
		return "UserOrder [id=" + id + ", userId=" + userId + ", orderNumber=" + orderNumber + ", createTime="
				+ createTime + ", note=" + note + ", user=" + user + "]";
	}
    
}